package com.sh.data.engine.application.model.request.integration;

import com.sh.data.engine.common.annotation.crypto.EncryptField;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author: mengzheng.mhc
 * @date: 2024/6/13 14:57
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Schema
public class DataSourceMongoConnectionRequest extends DataSourceConnectionRequest {

    @Schema(description = "数据库")
    private String dbName;

    @Schema(description = "权限检验空间，默认admin")
    private String authDbName;

    @Schema(description = "密码")
    @EncryptField
    private String password;
}
